﻿using System;
using System.Collections.Generic;

namespace DataProcess.Core.Model.Tqms
{
    public class OutputWebApiResult
    {
        public OutputWebApiResult()
        {
            id = Guid.NewGuid().ToString();
            analType = string.Empty;
            bgInten = string.Empty;
            comment = string.Empty;
            compName = string.Empty;
            conc = string.Empty;
            createDate = string.Empty;
            elem = string.Empty;
            fileName = string.Empty;
            layerInfo = string.Empty;
            layerNum = string.Empty;
            lh = string.Empty;
            line = string.Empty;
            measDateFormat = string.Empty;
            netInten = string.Empty;
            @operator = string.Empty;
            parFln = string.Empty;
            procType = string.Empty;
            unit = string.Empty;
        }
        public string id { get; set; }
        /// <summary>
        /// 仪器类型
        /// </summary>
        public string hardwareType { get; set; }

        /// <summary>
        /// 工厂编码
        /// </summary>
        public string plantCode { get; set; }

        /// <summary>
        /// 工厂名称
        /// </summary>
        public string plantName { get; set; }

        /// <summary>
        /// 样本名称
        /// </summary>
        public string sampleName { get; set; }

        /// <summary>
        /// 实验时间
        /// </summary>
        public string measDateStr { get; set; }
        /// <summary>
        /// 实验时间格式化
        /// </summary>
        public string measDateFormat { get; set; }
        /// <summary>
        /// 测量项目和值
        /// </summary>
        public List<OutputWebApiCenterItem> hardwareCenterItems { get; set; }


        public string analType { get; set; }
        public string bgInten { get; set; }
        public string comment { get; set; }
        public string compName { get; set; }
        public string conc { get; set; }
        public string createDate { get; set; }
        public string elem { get; set; }
        public string fileName { get; set; }
        public string layerInfo { get; set; }
        public string layerNum { get; set; }
        public string lh { get; set; }
        public string line { get; set; }

        public string netInten { get; set; }
        public string @operator { get; set; }
        public string parFln { get; set; }
        public string procType { get; set; }
        public string unit { get; set; }
    }

    /// <summary>
    /// 硬件数据结果列表
    /// </summary>
    public class OutputWebApiCenterItem
    {
        public OutputWebApiCenterItem()
        {
            id = Guid.NewGuid().ToString();
            bgInten = string.Empty;
            elem = string.Empty;
            layerNum = string.Empty;
            lh = string.Empty;
            line = string.Empty;
            netInten = string.Empty;
            procType = string.Empty;
            unit = string.Empty;
        }
        public string bgInten { get; set; }
        /// <summary>
        /// 检验项目编码
        /// </summary>
        public string compName { get; set; }
        /// <summary>
        ///检验结果
        /// </summary>
        public string conc { get; set; }
        public string elem { get; set; }
        public string id { get; set; }
        public string layerNum { get; set; }
        public string lh { get; set; }
        public string line { get; set; }
        /// <summary>
        /// 主表数据ID
        /// </summary>
        public string mainId { get; set; }
        public string netInten { get; set; }
        public string procType { get; set; }
        public string unit { get; set; }
    }
}
